WPTelegram\Core\includes\Utils S

Total Complexity 40
Dependencies 6
Dependents 10
Total lines 485
Lines of code 160
Logical lines of code 92
Comment lines 229
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
prepare_content()
A
45 8 40
filter_rest_errors()
S
53 6 21
sanitize_message_template()
S
56 5 18
smart_trim_excerpt()
S
53 4 20
get_attachment_by_limits()
S
69 3 6
valid_parse_mode()
S
79 2 3
split_content()
S
62 2 10
get_max_text_length()
S
70 2 5
get_image_size_limit()
S
79 2 3
get_html_converter()
S
59 1 14
nonce_field()
S
78 1 3
nonce()
S
80 1 3
get_attachment_by_filesize()
S
77 1 3
get_image_limits()
S
69 1 7
send_files_by_url()
S
74 1 4